package com.atguigu.gulimall.ware.service;

import com.atguigu.gulimall.ware.vo.MergePurchaseVO;
import com.atguigu.gulimall.ware.vo.PurchaseDoneVO;
import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.common.utils.PageUtils;
import com.atguigu.gulimall.ware.entity.PurchaseEntity;

import java.util.List;
import java.util.Map;

/**
 * 采购信息
 *
 * @author Shawn
 * @email 572484122@qq.com
 * @date 2021-03-27 11:17:19
 */
public interface PurchaseService extends IService<PurchaseEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryUnreceivePage(Map<String, Object> params);

    void mergePurchase(MergePurchaseVO mergePurchaseVO);

    void receivedPurchase(List<Long> purchaseIds);

    void done(PurchaseDoneVO purchaseDoneVO);
}

